#include <UnitTest++/UnitTest++.h>
#include "../Helpers.h"

using namespace MockItNow;

namespace
{
	void FreeFunction()
	{
	}

	TEST (GetFunctionAddressReturnsCorrectAddressForFreeFunction)
	{
		const size_t address = (size_t)&FreeFunction;
		CHECK_EQUAL(address, GetFunctionAddress(&FreeFunction));
	}
}
